import {Routes, RouterModule} from '@angular/router';
import { AppComponent } from './app.component';
import {SelectComponent} from './select/select.component';

const appRoutes:Routes = [
  {
    path: '',
    component: AppComponent
  },
  {
    path: 'select',
    component: SelectComponent
  },
  {
    path: '**',
    component: AppComponent
  }
];
export const routing = RouterModule.forRoot(appRoutes);
